package com.hopu.v1.service.admin.classes;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hopu.v1.pojo.classes.EmploymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hopu.v1.pojo.classes.Student;
import com.hopu.v1.pojo.common.R;
import com.hopu.v1.vo.StudentVo;

/**
* @author admin
* @description 针对表【t_employment_info(就业信息表)】的数据库操作Service
* @createDate 2024-09-27 14:23:04
*/
public interface EmploymentInfoService extends IService<EmploymentInfo> {

    /**
     * 分页条件查询就业信息
     * @param page
     * @param StudentVo
     * @return
     */
    Page<StudentVo> selectAll(Page<EmploymentInfo> page, StudentVo StudentVo);

    /**
     * 添加就业信息
     * @param employmentInfo
     * @return
     */
    R addEmploymentInfoById(EmploymentInfo employmentInfo);

    /**
     * 通过Id修改就业信息
     * @param employmentInfo
     * @return
     */
    R updateEmploymentInfoById(EmploymentInfo employmentInfo);

    /**
     * 学号校验
     * @param studentId
     * @return
     */
    boolean studentIdCheck(String studentId);

    /**
     * 入职离职时间校验
     * @param employmentInfo
     * @return
     */
    boolean timeCheck(EmploymentInfo employmentInfo);
}
